import 'package:flutter/material.dart';
import './light.dart';
import './dark.dart';
import './default.dart';
import './blue.dart';
import './yellow.dart';
import './pink.dart';
import './grey.dart';
import './black.dart';
import './green.dart';
import './red.dart';

class MyTheme {
    static ThemeData light=lightTheme;
    static ThemeData dark=darkTheme;

    static ThemeData normal=defaultTheme;
    static ThemeData blue=blueTheme;
    static ThemeData yellow=yellowTheme;
    static ThemeData pink=pinkTheme;
    static ThemeData grey=greyTheme;
    static ThemeData black=blackTheme;
    static ThemeData green=greenTheme;
    static ThemeData red=redTheme;

    static List<ThemeItem> getThemeList(){
        return [
            ThemeItem(key:'normal',theme: normal),
            ThemeItem(key:'pink',theme: pink),
            ThemeItem(key:'blue',theme: blue),
            ThemeItem(key:'yellow',theme: yellow),
            ThemeItem(key:'grey',theme: grey),
            ThemeItem(key:'black',theme: black),
            ThemeItem(key:'green',theme: green),
            ThemeItem(key:'red',theme: red),
        ];
    }
}

class ThemeItem {
    String key;
    ThemeData theme;
    ThemeItem({required this.key,required this.theme});
}
